clear probe;
probe=EquipmentControl.AnalyseEquipment.SRS.SIM960('COM5',7); 
varWavelength.probeFreq = input('Probe Frequency (THz) ='); 
for probe_volt = [0.3,0.5,0.8,1.0,1.2,1.4]
    probe.setManualOutValue(probe_volt); pause(3);    
    gyro.rpm.GET_WorkingPoint(); pause(1);
    
    varWavelength.probe_volt = probe_volt;    
    varWavelength.workingPoint =  gyro.rpm.workingPoint;
%    varWavelength.stdSpectrum = gyro.rpm.GET_StdCalibrationSpectrum('average', 1600);
    session.addMeasurementData(strrep(sprintf('wavelength%8.5f_gain1e4', varWavelength.probeFreq),  '.', '_'), ...
                               varWavelength);
end
